package com.xcy.goatmilk.table;

import com.xcy.goatmilk.base.TableData;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import java.util.Date;

/**
 * @author xcy
 * @Desc
 * @date 2020/7/13 18:01
 * @Version v1.0
 */
@NoArgsConstructor
@Data
public class IncomeTableData implements TableData {

    private static final long serialVersionUID = -1177565086530599514L;

    @ApiModelProperty(value="id")
    private String id;


    @ApiModelProperty(value="日期")
    private Date date;

    @ApiModelProperty(value="收入")
    private Integer income;

    @ApiModelProperty(value="支出")
    private Integer expend;

    @Column(name = "净收入")
    private Integer netIncome;



}
